home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / net / tc_act / tc_gact.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  328 b   |  18 lines

  1. #ifndef __NET_TC_GACT_H
  2. #define __NET_TC_GACT_H
  3.  
  4. #include <net/act_api.h>
  5.  
  6. struct tcf_gact {
  7.     struct tcf_common    common;
  8. #ifdef CONFIG_GACT_PROB
  9.         u16            tcfg_ptype;
  10.         u16            tcfg_pval;
  11.         int            tcfg_paction;
  12. #endif
  13. };
  14. #define to_gact(pc) \
  15.     container_of(pc, struct tcf_gact, common)
  16.  
  17. #endif /* __NET_TC_GACT_H */
  18.